package com.ziyun.erp.modules.purchase.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 门店采购申请表
 * 
 * @author guizhao
 * @email 
 * @date 2018-09-26 13:28:47
 */
@TableName("store_purchase_apply")
public class StorePurchaseApplyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增id
	 */
	@TableId(type = IdType.AUTO)
	private Integer applyId;
	/**
	 * 单据号
	 */
	private String applyNo;
	/**
	 * 总金额
	 */
	private BigDecimal totalMoney;
	/**
	 * 是否含税:0.不含税;1.含税
	 */
	private Integer tax;
	/**
	 * 申请门店ID
	 */
	private Integer sellerId;
	/**
	 * 申请门店名称
	 */
	@TableField(exist=false)
	private String sellerName;
	/**
	 * 采购申请单状态:1.待审核;2.已审核3.已入库
	 */
	private Integer status;
	/**
	 * 采购备注
	 */
	private String applyRemark;
	/**
	 * purchase_type
	 */
	private Integer purchaseType;
	/**
	 * 审核备注
	 */
	private String auditRemark;
	/**
	 * 入库人
	 */
	private String receiveName;
	/**
	 * 入库时间
	 */
	private Date receiveTime;
	/**
	 * 审核人
	 */
	private String checkName;
	/**
	 * 审核时间
	 */
	private Date checkTime;

	/**
	 * 支付时间
	 */
	private Date financePaytime;

	/**
	 * 付款备注
	 */
	private String financeRemark;

	/**
	 * 财务审核状态
	 */

	private Integer financeStatus;

	/**
	 * 申请人
	 */
	private String createName;
	/**
	 * 是否删除
	 */
	private Integer del;
	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 设置：自增id
	 */
	public void setApplyId(Integer applyId) {
		this.applyId = applyId;
	}
	/**
	 * 获取：自增id
	 */
	public Integer getApplyId() {
		return applyId;
	}
	/**
	 * 设置：单据号
	 */
	public void setApplyNo(String applyNo) {
		this.applyNo = applyNo;
	}
	/**
	 * 获取：单据号
	 */
	public String getApplyNo() {
		return applyNo;
	}
	/**
	 * 设置：总金额
	 */
	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}
	/**
	 * 获取：总金额
	 */
	public BigDecimal getTotalMoney() {
		return totalMoney;
	}
	/**
	 * 设置：是否含税:0.不含税;1.含税
	 */
	public void setTax(Integer tax) {
		this.tax = tax;
	}
	/**
	 * 获取：是否含税:0.不含税;1.含税
	 */
	public Integer getTax() {
		return tax;
	}
	/**
	 * 设置：申请门店ID
	 */
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	/**
	 * 获取：申请门店ID
	 */
	public Integer getSellerId() {
		return sellerId;
	}
	/**
	 * 设置：采购申请单状态:1.待审核;2.已审核3.已入库
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：采购申请单状态:1.待审核;2.已审核3.已入库
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：入库人
	 */
	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}
	/**
	 * 获取：入库人
	 */
	public String getReceiveName() {
		return receiveName;
	}
	/**
	 * 设置：入库时间
	 */
	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}
	/**
	 * 获取：入库时间
	 */
	public Date getReceiveTime() {
		return receiveTime;
	}
	/**
	 * 设置：审核人
	 */
	public void setCheckName(String checkName) {
		this.checkName = checkName;
	}
	/**
	 * 获取：审核人
	 */
	public String getCheckName() {
		return checkName;
	}
	/**
	 * 设置：审核时间
	 */
	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}
	/**
	 * 获取：审核时间
	 */
	public Date getCheckTime() {
		return checkTime;
	}


	public Date getFinancePaytime() {
		return financePaytime;
	}

	public void setFinancePaytime(Date financePaytime) {
		this.financePaytime = financePaytime;
	}

	public String getFinanceRemark() {
		return financeRemark;
	}

	public void setFinanceRemark(String financeRemark) {
		this.financeRemark = financeRemark;
	}

	public Integer getFinanceStatus() {
		return financeStatus;
	}

	public void setFinanceStatus(Integer financeStatus) {
		this.financeStatus = financeStatus;
	}

	/**
	 * 设置：申请人
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	/**
	 * 获取：申请人
	 */
	public String getCreateName() {
		return createName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 获取：商户名
	 * @return
	 */
	public String getSellerName() {
		return sellerName;
	}
	/**
	 * 设置：商户名
	 * @param sellerName
	 */
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	/**
	 *  获取：是否删除
	 * @return
	 */
	public Integer getDel() {
		return del;
	}
	/**
	 * 设置：是否删除
	 * @param del
	 */
	public void setDel(Integer del) {
		this.del = del;
	}
	/**
	 * 获取：申请备注
	 * @return
	 */
	public String getApplyRemark() {
		return applyRemark;
	}
	/**
	 * 设置：申请备注
	 * @param applyRemark
	 */
	public void setApplyRemark(String applyRemark) {
		this.applyRemark = applyRemark;
	}
	/**
	 * 获取：审核备注
	 * @return
	 */
	public String getAuditRemark() {
		return auditRemark;
	}
	/**
	 * 设置：审核备注
	 * @param auditRemark
	 */
	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public Integer getPurchaseType() {
		return purchaseType;
	}

	public void setPurchaseType(Integer purchaseType) {
		this.purchaseType = purchaseType;
	}
}
